package com.chaoyue.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chaoyue.content.beans.dto.BindTeachplanMediaDto;
import com.chaoyue.content.beans.dto.SaveTeachplanDto;
import com.chaoyue.content.beans.dto.TeachplanDto;
import com.chaoyue.content.beans.po.Teachplan;


import java.util.List;

/**
 * <p>
 * 课程计划 服务类
 * </p>
 * @author whr
 * @since 2023-04-25
 */
public interface TeachplanService extends IService<Teachplan> {
    /**
     * @description: 查询课程计划
     * @param:  courseId 课程id
     * @return:  List<TeachplanDto>
     * @author whr
     * @date: 2023/5/9 20:51
     */
    List<TeachplanDto> findTeachplanTree(Long courseId);
    void saveTeachplan(SaveTeachplanDto saveTeachplanDto);
void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);
}
